//
//  iBioCAD_Controller.h
//  iBioCAD
//
//  Created by Orbitus on 9/13/07.
//  Copyright 2007 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "Importer.h"

@interface iBioCAD_Controller : NSObject {

	IBOutlet NSProgressIndicator *blastProgess;
	IBOutlet NSProgressIndicator *importProgess;
	IBOutlet NSProgressIndicator *exportProgess;	
	IBOutlet NSTextField *exportName;
	IBOutlet NSPopUpButton *exportFormat;
	//	IBOutlet NSPathControl *exportPath;    //  Leopard path control
	IBOutlet NSString *exportPath;
	IBOutlet NSButton *exportOption;
	IBOutlet id importWindow;
	IBOutlet NSWindowController *installationPanelController;
	IBOutlet NSPanel *installationPanel;
	IBOutlet NSPathControl *installationPathControl;
	IBOutlet NSArrayController *dnaArrayController;
	IBOutlet Importer *myImporter;
	NSString *installationLocation;
	NSString *desktopFolder;
	NSMutableArray *files;

	NSPersistentStoreCoordinator *persistentStoreCoordinator;
    NSManagedObjectModel *managedObjectModel;
    NSManagedObjectContext *managedObjectContext;
}

-(void) desktopFolder: (NSString *) newDesktopFolder;
-(NSString *) desktopFolder;

-(void) setFiles: (NSMutableArray*) myFiles;
-(NSMutableArray*) files;
- (void) openFiles:(id)myFiles;

- (NSString *)installationFolderPath;
-(IBAction)test:(id)sender;

- (IBAction)setInstallationPath:(id)sender;
- (IBAction)runInstaller:(id)sender;
- (IBAction)print:(id)sender;
- (IBAction)exportAsPDF:(id)sender;
- (IBAction)exportAsPNG:(id)sender;
- (IBAction)blast:(id)sender;
- (IBAction)saveAction:sender;
- (IBAction)export:(id)sender;


@end
